#!/bin/bash
#!/bin/sh

set -e


# Deployment used by `npx convex dev`
export CONVEX_DEPLOYMENT=xxx
# team: ishow520, project: notion-clone-2f3b0

export NEXT_PUBLIC_CONVEX_URL=xxx
# https://dashboard.clerk.com/apps/app_2gLg26oIr0FnFn2uHVwtWFTlh81/instances/ins_2gLg2AwfeZ1lmM0ntbFwcb7trez
export NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=xxx
export CLERK_SECRET_KEY=xxx


# edgeStore.dev
export EDGE_STORE_ACCESS_KEY=xxx
export EDGE_STORE_SECRET_KEY=xxx

# Start convex in the background
npx convex dev &

pm2 start ./pm2.json --no-daemon
